#include <QCoreApplication>
#include "DoxygenParser.h"

#include "RefrenceItem.h"
#include "IDoxyFile.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

DoxygenParser::getInstance()->loadIndexFile("/home/mark/Desktop/xml/index.xml");
QList<RefItem> list;
DoxygenParser::getInstance()->getFileNames(list);
const IDoxyFile* file = DoxygenParser::getInstance()->loadFile(list.at(0).refId);


qDebug() << "\n Class names";
DoxygenParser::getInstance()->getClassNames(list);

for(int i =0; i < list.size(); i++)
{
    if(list.at(i).refId ==  "class_message_handler")
    {
        const IDoxyClass* classType = DoxygenParser::getInstance()->loadClass(list.at(i).refId);
    }

}



    return a.exec();
}
